package com.example.demo;



import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author leiliang
 * @version 1.0
 * @Description
 * @date 2021/5/12 10:22
 */

 public class SsopDictValue implements Serializable {

    /**
     * 主键
     */

    private long id;

    /**
     * 数据字典表id
     */
     private long dictId;

    /**
     * 上级id
     */
     private long parentId;


    /**
     * 数据字典名称
     */
     private String label;

    /**
     * 编码
     */
     private String code;

    /**
     * 显示顺序
     */
     private int display_index;

    /**
     * 描述
     */
     private String description;

    /**
     * 创建时间
     */
     private long created;

    /**
     * 修改时间
     */
     private long modified;

    /**
     * 设备类型id  转换字段
     */
    private String devTypeId;
    /**
     * 设备类型ParentId  转换字段
     */
    private String devTypeParentId;
    /**
     * 子区域
     */
    private List<SsopDictValue> children = new ArrayList<>();

    public List<SsopDictValue> getChildren() {
        return children;
    }

    public void setChildren(List<SsopDictValue> children) {
        this.children = children;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDictId() {
        return dictId;
    }

    public void setDictId(long dictId) {
        this.dictId = dictId;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getDisplay_index() {
        return display_index;
    }

    public void setDisplay_index(int display_index) {
        this.display_index = display_index;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public long getCreated() {
        return created;
    }

    public void setCreated(long created) {
        this.created = created;
    }

    public long getModified() {
        return modified;
    }

    public void setModified(long modified) {
        this.modified = modified;
    }

    public String getDevTypeId() {
        return devTypeId;
    }

    public void setDevTypeId(String devTypeId) {
        this.devTypeId = devTypeId;
    }

    public String getDevTypeParentId() {
        return devTypeParentId;
    }

    public void setDevTypeParentId(String devTypeParentId) {
        this.devTypeParentId = devTypeParentId;
    }
}
